<!DOCTYPE html>
<html>
    <head>
        <title>Leoh-OAuth登录页面</title>
        <style>
            body { font-family: Arial, sans-serif; max-width: 500px; margin: 0 auto; padding: 20px; }
            .form-group { margin-bottom: 15px; }
            input { width: 100%; padding: 8px; margin-top: 5px; }
            button { background-color: #4CAF50; color: white; padding: 10px 15px; border: none; cursor: pointer; }
        </style>
    </head>
    <body>
        <h2>Leoh-OAuth登录页面</h2>
        <p><strong>用户名:</strong> demo_user<br>
        <strong>密码:</strong> demo_password</p>

        <form action="{{ login_callback_url }}" method="post">
            <input type="hidden" name="state" value="{{ state }}">
            <div class="form-group">
                <label>用户名:</label>
                <input type="text" name="username" value="demo_user" required>
            </div>
            <div class="form-group">
                <label>密码:</label>
                <input type="password" name="password" value="demo_password" required>
            </div>
            <button type="submit">登录</button>
        </form>
    </body>
</html>